<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            height: 300px;
            font-size: 70px;
            background-color: red;
            text-align: center;
            line-height: 300px;
            color: white;
            /* 过渡 */
            /* 需要过渡属性 */
            /* transition-property: font-size; */
            /* 过度时长 */
            /* text-decoration: 2s; */
            /* 过渡加速曲线   linear匀速 */
            /* transition-timing-function: linear; */

            /* 设置多个过渡属性 */
            transition: font-size 2s linear ;
        }

        div:hover {
            color: aqua;
        }

        img {
            transition: width 0.1s linear;
        }

        img:hover {
            width: 300px;
        }
    </style>
</head>

<body>
    <div>
        666
    </div>
    <img width="250px" src="../Day 01/音视频/6.jpg" alt="">

</body>

</html>